Besides the average there are other statistical measures to describe the behavior of a sample of n values. One of these measures the median, which is the numeric value separating the higher half of the sample from the lower half of the sample. In case that the number n of the values of the sample is even, the median is defined as the mean of the two middle values.
The median is statistically more robust than any average, as it does not take into account outliers or black swans. A moving average can be replaced with the moving median for many purposes.
This indicator calculates the moving median by writing the last n values to an array, sorting the array and selecting the middle value - or in case that n is even, the two middle values of the sample.
The NinjaScript method GetMedian() is not used, because it is flawed.
These are the 2 pole and 3 pole Super Smoother Filters, which were described by John F. Ehlers in his book "Cybernetic Analysis for Stocks and Futures". Ported from Easy Language to NinjaTrader.
The chart shows that the 2 pole super smoother filter (yellow) gives a better approximation for price while the 3 pole filter (spring green) offers superior smoothing.
These are the 2 pole and 3 pole Butterworth Filters, which were described by John F. Ehlers in his book "Cybernetic Analysis for Stocks and Futures". Ported from Easy Language to NinjaTrader.
The chart shows that the 2 pole filter (red) gives a better approximation for price, while the 3 pole filter (blue) offers superior smoothing.
The ZeroLagHATEMA is a Heikin-Ashi smoothed zerolagging moving average, which was presented by Sylvain Vervoort in the May 2008 edition of the TASC (Technical Analysis of Stocks and Commodities) magazine.
The original version of this indicator was coded for the Trader's Tips of TASC and is available as a NinjaTrader download.
This is an updated version for NT 7.0, which has a bug of the original indicator removed.
This is an improved version of the drive indicator.
The indicator detects both volatility and momentum and shows the relationsship between bullish momentum or bearish momentum and volatility.
Volatility is measured via the absolute value of the indicator. You will notice, how it moves up during the day session and moves down during the night session.
Momentum is measured as the difference between the two lines. Positive momentum is shown as green and negative momentum is shown as red. The momentum is measured via the enhanced momentum indicator, which is included.
The lines are smoothed with a Hull moving average for display.
This is an improved version of the momentum indicator.
The n-period momentum is the difference between the close of the last bar and the close n bars ago. When a large bar n periods ago drops out of the momentum calculation, this can create a significant distortion, as it will show as a change in momentum, even if there was no or little price change for the last bar.
To eliminate this problem, the input value n bars ago was replaced with the triangular moving average SMA(SMA(Input, n+1), n+1)[0]. This modification does not change the usability of the momentum indicator, but simply eliminates the distortion.
This is a simple indicator that colors the background of your charts according to the current session template.
To use the indicator you first need to create a session template that reflects the different intraday sessions. The chart shows Crude Oil using the following session template (all times are EST for NYMEX)
Night session: 6:00 PM - 9:00 AM
RTH session: 9:00 AM - 2:30 PM
Evening session: 2:30 PM - 5:15 PM
Select the session template as your default template via instrument manager and display all charts with <instrument settings>. When toggling between instruments the chart will now select the appropriate session for your instruments automatically.
October 25th, 2016 04:16 PM hobbys11 thx very much.
September 9th, 2015 04:48 PM anup Thx fat Tail. That is a great Indicator. Very thoughtful of you. Thx again.
July 21st, 2015 03:50 PM pepbosch great idea from a great brain! Thanks
December 27th, 2013 04:42 AM Maxie in welchem TF benutzt Du den Indi am Meisten? I can see the "alpha Auction bars"in the screen, sind die auch von Dir? Wü
rde ich gern ausproboieren, kannst Du mir sagen, wo ich die finde?
October 31st, 2019 12:30 AM GwaiZaiTrader Thanks this indicator is great!!! I am trying to switch to NT8 and attempted to convert it with the methods outlined her
e and no errors were given. I imported it to NT8. No errors or logs were given during Ninjascript import, but the indica
tor cannot be found.
March 17th, 2016 08:28 AM no3putts Thank you!
November 25th, 2014 07:14 AM CelticTiger Excellent!!